﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfShortMessage.aspx.cs" Inherits="msBsc.WebUi.ShpMana.wfShortMessage" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>短息接口测试</title>
</head>
<body>
    <div>
        对方电话<input type="text" id="mobile"  value="13678477967"/>
        <br />
        发送内容<textarea id="strContent">您已在网站成为地接客,您的密码是XXXXX，帐号为电话号码。关注【地接客】</textarea><br />
        <input type="button" value="发送" onclick="doMessage()" />

    </div>
    <script src="/jqPlugin/js/jBase.js"></script>
    <script src="/jqPlugin/js/jBPage.js"></script>
    <script src="/jqPlugin/js/laytpl.js"></script>
    
    <script type="text/javascript">
        function doMessage() {
            var mobile = $("#mobile").val();
            var strContent = $("#strContent").val();
            if (mobile == "" || strContent == "") {
                return;
            }
            var _opartParam = new jsonRow();
            _opartParam.AddCell("mobile", mobile);
            _opartParam.AddCell("strContent", strContent);
            _opartParam.AddCell("ACTION", "sender");
            ajaxComm(_opartParam);
        }
    </script>
</body>
</html>
